package com.shen.computer;

/**
 * Author:shen
 * CreateDate:2020/5/17.
 * Function:
 */
public class Internet implements CPU {
    private String series;
    private float zhupin;

    public Internet(String s, float zhu) {
        this.series = s;
        this.zhupin = zhu;
    }

    @Override
    public void calculate() {
        System.out.println("因特尔的" + series + ",主频为" + this.zhupin + "的cpu开始工作:");
        System.out.println("计算,控制");
    }
}
